package GUI;

import java.awt.*;
import javax.swing.*;
import java.awt.Toolkit;
import java.awt.Image;

public class GUI extends JFrame {

    private static final long serialVersionUID = 1L;

    public GUI() {
	this.initGUI();
	this.setVisible(true);
    }

    private void initGUI() {
	Toolkit myTK = Toolkit.getDefaultToolkit();
	Image Bild = myTK.getImage("./src/GUI/mm-logo.jpg");
	ImageIcon background = new ImageIcon(Bild);
	JLabel myLabel = new JLabel(background);
	JPanel myPanel = new JPanel();
	myPanel.setSize(new Dimension(796, 602));
	myPanel.setBackground(new Color(255, 255, 255));
	myPanel.add(myLabel);
	this.add(myPanel);
	// Properties and methods
	this.setSize(new Dimension(796, 602));

	this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
	this.setMinimumSize(new Dimension(7, 33));
	this.setName("MediaMemo");
	this.setPreferredSize(new Dimension(796, 602));
	this.setResizable(false);
	this.setTitle("MediaMemo");

    }
}
